// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_rule_actions
// * CreateDate    : 2014-06-05 18:30:00
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:00
// * LastChanger   : 2014-06-05 18:30:00
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmRuleActionsTable : TableInfo
    {
		public const string C_TableName = "hm_rule_actions";
		
		public const string C_actionid = "actionid";
		public const string C_actionruleid = "actionruleid";
		public const string C_actiontype = "actiontype";
		public const string C_actionimapfolder = "actionimapfolder";
		public const string C_actionsubject = "actionsubject";
		public const string C_actionfromname = "actionfromname";
		public const string C_actionfromaddress = "actionfromaddress";
		public const string C_actionto = "actionto";
		public const string C_actionbody = "actionbody";
		public const string C_actionfilename = "actionfilename";
		public const string C_actionsortorder = "actionsortorder";
		public const string C_actionscriptfunction = "actionscriptfunction";
		public const string C_actionheader = "actionheader";
		public const string C_actionvalue = "actionvalue";
		public const string C_actionrouteid = "actionrouteid";
		
		public HmRuleActionsTable()
        {
            _tableName = "hm_rule_actions";
        }
		
		protected static HmRuleActionsTable _current;
        public static HmRuleActionsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmRuleActionsTable();

            _current.Add(C_actionid, new ColumnInfo(C_actionid,"Actionid", true, typeof(int)));
            _current.Add(C_actionruleid, new ColumnInfo(C_actionruleid,"Actionruleid", false, typeof(int)));
            _current.Add(C_actiontype, new ColumnInfo(C_actiontype,"Actiontype", false, typeof(byte)));
            _current.Add(C_actionimapfolder, new ColumnInfo(C_actionimapfolder,"Actionimapfolder", false, typeof(string)));
            _current.Add(C_actionsubject, new ColumnInfo(C_actionsubject,"Actionsubject", false, typeof(string)));
            _current.Add(C_actionfromname, new ColumnInfo(C_actionfromname,"Actionfromname", false, typeof(string)));
            _current.Add(C_actionfromaddress, new ColumnInfo(C_actionfromaddress,"Actionfromaddress", false, typeof(string)));
            _current.Add(C_actionto, new ColumnInfo(C_actionto,"Actionto", false, typeof(string)));
            _current.Add(C_actionbody, new ColumnInfo(C_actionbody,"Actionbody", false, typeof(string)));
            _current.Add(C_actionfilename, new ColumnInfo(C_actionfilename,"Actionfilename", false, typeof(string)));
            _current.Add(C_actionsortorder, new ColumnInfo(C_actionsortorder,"Actionsortorder", false, typeof(int)));
            _current.Add(C_actionscriptfunction, new ColumnInfo(C_actionscriptfunction,"Actionscriptfunction", false, typeof(string)));
            _current.Add(C_actionheader, new ColumnInfo(C_actionheader,"Actionheader", false, typeof(string)));
            _current.Add(C_actionvalue, new ColumnInfo(C_actionvalue,"Actionvalue", false, typeof(string)));
            _current.Add(C_actionrouteid, new ColumnInfo(C_actionrouteid,"Actionrouteid", false, typeof(int)));
			
		}
		
		public ColumnInfo actionid
        {
            get { return this[C_actionid]; }
        }
		
		public ColumnInfo actionruleid
        {
            get { return this[C_actionruleid]; }
        }
		
		public ColumnInfo actiontype
        {
            get { return this[C_actiontype]; }
        }
		
		public ColumnInfo actionimapfolder
        {
            get { return this[C_actionimapfolder]; }
        }
		
		public ColumnInfo actionsubject
        {
            get { return this[C_actionsubject]; }
        }
		
		public ColumnInfo actionfromname
        {
            get { return this[C_actionfromname]; }
        }
		
		public ColumnInfo actionfromaddress
        {
            get { return this[C_actionfromaddress]; }
        }
		
		public ColumnInfo actionto
        {
            get { return this[C_actionto]; }
        }
		
		public ColumnInfo actionbody
        {
            get { return this[C_actionbody]; }
        }
		
		public ColumnInfo actionfilename
        {
            get { return this[C_actionfilename]; }
        }
		
		public ColumnInfo actionsortorder
        {
            get { return this[C_actionsortorder]; }
        }
		
		public ColumnInfo actionscriptfunction
        {
            get { return this[C_actionscriptfunction]; }
        }
		
		public ColumnInfo actionheader
        {
            get { return this[C_actionheader]; }
        }
		
		public ColumnInfo actionvalue
        {
            get { return this[C_actionvalue]; }
        }
		
		public ColumnInfo actionrouteid
        {
            get { return this[C_actionrouteid]; }
        }
		
		
		
	}
}

